package com.keyue.domain.vo;

import lombok.*;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * (Member)验证码
 *
 * @author xms
 * @since 2023-08-22 17:02:39
 */
@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@SuperBuilder
public class CaptchaMessageVO extends BasePageVO implements Serializable {
    private static final long serialVersionUID = -98570856671998407L;

    /**
     * 类型：register
     */
    private String type;

    /**
     * 手机号码
     */
    @NotBlank(message = "手机号码不能为空!")
    private String phone;

    /**
     * 图片验证码
     */
    @NotBlank(message = "图片验证码不能为空!")
    private String imgCaptchaCode;

    /**
     * 图片验证码标识
     */
    @NotBlank(message = "图片验证码标识不能为空!")
    private String imgCaptchaUuid;

}

